package com.xiaomengkuan.product.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xiaomengkuan.product.entity.pojo.Tag;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.assertj.core.util.Strings;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author Faraj Mujey
 * -- Creation Time: 2021-02-24 11:34 上午, File Encoding: utf8 --
 */
@Data
public class AdminProductDetailVo {
    @ApiModelProperty("id")
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    @ApiModelProperty("商品名称")
    private String title;
    @ApiModelProperty("商品主图")
    private String img;
    @ApiModelProperty("喜欢的数量")
    @TableField("`like`")
    private int like;
    @ApiModelProperty("收藏的数量")
    private int favourite;
    @ApiModelProperty("价格")
    private BigDecimal price;
    @ApiModelProperty("排序")
    private int sort;
    @ApiModelProperty("简介")
    private String summary;
    private List<String> tags;
}
